<style type="text/css">
    .bjui-pageHeader{
        font-size: 18px;
        font-weight: bold;
    }
    .form{
        padding: 15px;
    }
    .form dl {
        overflow: hidden;
        padding-top: 15px;
    }

    .form dt {
        color: #666;
        float: left;
        font-size: 14px;
        padding: 3px 0 0;
        width: 11%;
    }
    .form dd {
        float: left;
        line-height: 22px;
    }
    dd.desc {
        height: 30px;
        padding: 0 10px;
        width: 150px;
    }
</style>
<div class="bjui-pageContent">
    <table class="table">
        <tr>

            <td>
                编号：{$book['id']}
                <br/>
                姓名：{$book['username']}
                <br/>
                来自：{$book['ip']}
                <br/>
                电话：{$book['tel']}
                <br/>
                时间：{$book['posttime']|date='Y-m-d H:i:s', ###}
            </td>
        </tr>
        <tr>
            <td>
                <textarea cols="50" rows="10">{$book['content']}</textarea>
            </td>

        </tr>
    </table>

    <form action="{:U('Guestbook/reply')}" method="post" data-toggle="validate">
        <table>
            <tr>
                <td>◆回复◆</td>
            </tr>
            <tr>
                <td>
                    <textarea cols="50" rows="10" name="reply" class="reply" data-rule="required" data-tip="请填写回复内容" data-ok="OK">{$book['reply']}</textarea>
                </td>
            </tr>
            <tr>
                <td>
                    <input type="hidden" name="id" value="{$book['id']}" id="id" class="id" />
                </td>
            </tr>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close" data-icon="close">关闭</button>
        </li>
        <li>
            <button data-icon="save" class="btn btn-default" type="submit">保存</button>
        </li>
    </ul>
</div>